package com.jirclib;

import com.jirclib.listeners.DefaultListener;

/**
 * Created by IntelliJ IDEA.
 * User: Aelin
 * Date: May 12, 2009
 * Time: 2:34:13 PM
 * To change this template use File | Settings | File Templates.
 */
public class Main {
    public static void main( String[ ] args ) {
        IRCConnection connection = new IRCConnection( );
        connection.connect("irc.rizon.net", 6667);
        connection.setNickname("Francis");
        connection.addListener( new DefaultListener( ) );
        connection.join("#rsbot");
        new Thread(connection).run( );
    }
}
